<template>

    <a-steps direction="horizontal" labelPlacement="vertical" :current="currentStatus" size="small" status="finish">
      <a-step v-for="(item, index) in list" :key="index" title="" :description="item.title"></a-step>
<!--      <a-step title="" description="采购确认" />-->
<!--      <a-step title="" description="入库" />-->
<!--      <a-step title="" description="状态之间转换" />-->
    </a-steps>
</template>

<script>
export default {
  name: 'TslStep',
  props:{
    list: {
      type: Array,
      required: true
    },
    currentStatus: {
      type: Number,
      default: 0,
      required: false
    }
  },
  components: {

  },
  data() {
    return {

    }
  },
  created() {
  },
  mounted() {
  },
  computed: {

  },
  methods:{

  }
}
</script>

<style scoped>

</style>